package org.example.old.design;

public class Context {
    AdvancedMediaPlayer advancedMediaPlayer;
    public Context(AdvancedMediaPlayer advancedMediaPlayer){
        this.advancedMediaPlayer = advancedMediaPlayer;
    }

    public void executeStrategy(String fileName){
        advancedMediaPlayer.playMp4(fileName);
    }
}
